﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Thauan_Juliano_World
{
    class Inventory
    {
        private static GraphicsDevice gd;
        private static BasicEffect effect;

        public Inventory(GraphicsDevice GD, BasicEffect Effect) 
        {
            gd = GD;
            effect = Effect;
        }

        public static GraphicsDevice getGraphicsDevice() 
        {
            return gd;
        }
        public static BasicEffect getBasicEffect() 
        {
            return effect;
        }

        public static void ForTexture(bool t) 
        {
            if (t)
            {
                effect.TextureEnabled = true;
                effect.VertexColorEnabled = false;
            }
            else 
            {
                effect.TextureEnabled = false;
                effect.VertexColorEnabled = true;
            }
        }
    }
}
